package com.mdy.learn.tracker;

public class SensorTracker {


    private OnSensorChangedListener listener;

    public void startSensor(OnSensorChangedListener listener) {
        this.listener = listener;
    }

    public void stopSensor() {

    }

    interface OnSensorChangedListener {
        void onSensorChanged(SensorEntity sensorEntity);
    }

    public static class SensorEntity {
        public long timestamp;
        public float[] values;

    }
}
